package groovy.sample.userguide.singleton.example2

import com.google.inject.Inject

class Client1 {
	@Inject
	def Calculator1 calc
	
	def executeCalc(a, b) {
		calc.add(a, b)
	}
	
	def fakeCalc() {
		calc.fakeIt()
	}
	
	String toString() { 'Client: ' + hashCode()}
}
